import request from '@/utils/request'

// 获取省市区列表
export const getCityList = () => {
  return request ({
    method: 'GET',
    url: '/city_list'
  })
}
// 新增或编辑地址
export const addAddress = data => {
  return request ({
    method: 'POST',
    url: '/address/edit',
    data
  })
}